#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);

signals:

public slots:
    //自定义槽函数,可以写到public 下,或者全局函数,
    void treat(QString foodName); //槽函数返回值void 槽函数需要声明 也需要实现 也可以有参数, 可以发生重载


};

#endif // STUDENT_H
